package com.shelpe.services.sinbad.repository.jpa;

import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.shelpe.services.sinbad.entity.jpa.ContainerSetting;
import com.shelpe.services.sinbad.entity.jpa.ContainerSetting.ContainerSettingPK;

public interface ContainerSettingRepository extends PagingAndSortingRepository<ContainerSetting, ContainerSettingPK> {
	ContainerSetting findByUserIDAndSettingKeyAndContainerIDAndContainerType(long userID, String setKey,
			long containerID, String setType);

	List<ContainerSetting> findByUserIDAndContainerIDAndContainerType(long userID, long containerID, String setType);
}
